WeDevs\Dokan\Commission B

Total Complexity 100
Dependencies 4
Dependents 1
Total lines 849
Lines of code 370
Logical lines of code 219
Comment lines 349
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
prepare_for_calculation()
B
37 19 73
get_earning_by_order()
A
42 13 46
calculate_gateway_fee()
S
45 5 43
calculate_commission()
S
57 5 19
get_earning_by_product()
S
58 5 13
get_earning_from_order_table()
S
55 4 20
get_processing_fee()
S
62 4 11
get_all_order_to_be_processed()
S
56 3 20
get_category_wise_rate()
S
63 4 9
validate_rate()
S
69 4 6
get_category_wise_additional_fee()
S
64 3 9
hide_extra_data()
S
64 3 9
validate_product_id()
S
73 2 5
get_category_wise_earning()
S
70 2 6
get_category_wise_type()
S
70 2 5
get_shipping_fee_recipient()
S
63 2 10
get_tax_fee_recipient()
S
63 2 10
get_product_wise_earning()
S
70 2 6
get_vendor_wise_additional_fee()
S
78 1 3
get_global_additional_fee()
S
78 1 3
get_product_wise_additional_fee()
S
78 1 3
__construct()
S
72 1 5
get_vendor_wise_earning()
S
79 1 3
get_global_earning()
S
79 1 3
get_vendor_wise_type()
S
79 1 3
get_global_type()
S
79 1 3
get_product_wise_rate()
S
78 1 3
get_vendor_wise_rate()
S
78 1 3
get_global_rate()
S
78 1 3
get_order_qunatity()
S
82 1 3
set_order_qunatity()
S
81 1 3
get_order_id()
S
82 1 3
set_order_id()
S
81 1 3
get_product_wise_type()
S
78 1 3